package com.example.fasttalk.client;

public enum ServerApiEnum {
  LOGIN("/api/auth/login", "POST", "登录接口"),
  GET_GROUPS("/api/group/get_groups", "GET", "获取当前登录用户所在的所有群"),
  SEND_TEXT("/api/talk/send_text", "PUT", "获取当前登录用户所在的所有群"),
  STREAM_SSE("/api/sse/stream_sse", "GET", "建立 Sse 连接");

  String path;

  String type;

  String describe;

  ServerApiEnum(String path, String type, String describe) {
    this.path = path;
    this.type = type;
    this.describe = describe;
  }

  public String getPath() {
    return path;
  }

  public String getType() {
    return type;
  }

}
